package de.gameduell.framework.gui.wrapper {
	import flash.display.MovieClip;
	import flash.display.Sprite;	

	/**
	 * @author cbra
	 */
	public class MovieClipWrapper extends SpriteWrapper {
		protected var _movieClip:MovieClip;
		
		public function MovieClipWrapper(aMovieClip:MovieClip) {
			super(aMovieClip as Sprite);
			_movieClip = aMovieClip;
		}
		
		public function gotoAndPlay(frame:Object, scene:String = null):void{
			_movieClip.gotoAndPlay(frame,scene);
		}
		
		public function gotoAndStop(frame:Object, scene:String = null):void{
			_movieClip.gotoAndStop(frame,scene);
		}
		
		public function stop():void{
			_movieClip.stop();
		}
		
		public function get movieClip():MovieClip{
			return _movieClip;
		}

	}
}
